package com.naiterui.ehp.bs.cms.modules.inventory.vo;

import java.util.List;

import javax.validation.constraints.NotEmpty;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class SkuInventoryVO implements java.io.Serializable {

    private static final long serialVersionUID = 3450144161857124370L;

    @ApiModelProperty(value = "sku id")
    private Long skuId;

    /**
     * 商品sku码
     */
    @NotEmpty(message = "商品sku码不能为null")
    @ApiModelProperty(value = "商品sku码")
    private String skuNumber;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String skuName;

    /**
     * 实物库存
     */
    @ApiModelProperty(value = "实物库存")
    private Long totalPhysicalQuantity;

    /**
     * 欲占库存数量
     */
    @ApiModelProperty(value = "欲占库存数量")
    private Long totalWillQuantity;

    /**
     * 占用库存
     */
    @ApiModelProperty(value = "占用库存")
    private Long totalTakeUpQuantity;

    /**
     * 总可用库存
     */
    @ApiModelProperty(value = "总可用库存")
    private Long totalQuantity;

    @ApiModelProperty(value = "库存信息")
    private List<InventoryVO> inventors;

}
